package com.joejag.mavenstats.client.views.sidebar.children;

import com.google.gwt.user.client.ui.AbstractImagePrototype;
import com.google.gwt.user.client.ui.TreeItem;
import com.joejag.mavenstats.client.dto.ReportDTO;

public class ReportTreeItem extends TreeItem
{
  public ReportDTO project;

  public ReportTreeItem(AbstractImagePrototype imagePrototype, ReportDTO reportDTO)
  {
    super("<span>" + imagePrototype.getHTML() + reportDTO.name + "</span>");
    this.project = reportDTO;
  }

}